package com.sample.mockito;

import java.util.List;

/**
 * Created by Administrator on 2016/8/29.
 */
public class PersonServiceImpl implements PersonService{


    private PersonDao personDao;


    public void setPersonDao(PersonDao personDao) {
        this.personDao = personDao;
    }

    public List<Person> queryAll(String name) {
        System.out.print(name);
        return personDao.queryAll(name);
    }
}
